/* 导航栏样式 */
body {
    background-color: #f3f5f8;
}

.div-head {
    text-align: center;
    width: 100%;
    height: 50px;
    background-color: white;
}

.div-head span {
    color: black;
}

.div-head a {
    color: #00bdff;
    font-size: 14px;
}

/* 注册部分样式 */
main {
    padding-top: 30px;
    margin: 50px auto;
    width: 1000px;
    height: 600px;
    background-color: white;
}
/* 表单样式 */
form {
    margin-left: 300px;
    width: 400px;
    height: 300px;
}

form h1 {
    color: black;
}

form h3 {
    margin: 15px 0;
    color: black;
}

form .gift {
    width: 360px;
    height: 25px;
    line-height: 25px;
    text-indent: 32px;
    color: white;
    background-color: #ed510a;
    background-image: url("../images/reg-gift.png");
    background-repeat: no-repeat;
    background-position: 8px 3px;
    border: 0 !important;
}
form p {
    position: relative;
    width: 100%;
    height: 30px;
    margin: 20px 0;
}
/* 光标 */
form p img{
    position: absolute;
    left: 340px;
    top: 8px;
    display: none;
}
form p .clear{
    position: absolute;
    left: 240px;
    top: 8px;
}
form p .spanhtml{
    text-indent: 24px;
    color: red;
    font-size: 12px;
    position: absolute;
    left: 365px;  
    top:8px;
     width: 500px;
    background-image: url("../images/sprite2.png");
    background-repeat: no-repeat;
    background-position: 4px -128px;
    display: none;
}
form input {
    width: 360px;
    height: 30px;
    border: 0;
    outline: 0;
      border: 1px solid gray

}

form input:focus{
    border: 1px solid #00bdff
}
.obtain-p{
    position: relative;
}

.obtain-p .text-span{
    position: absolute;
    left: 260px;
    top: 1px;
    color: black;
    font-size: 12px;
    text-align: center;
    line-height: 30px;
    background-color: #f3f5f8;
    height: 30px;
    width: 100px;
    border-left:1px solid gray; ;   
}
.div-input input{
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-left: 0;
}
.div-input{
    font-size: 12px;
}
.div-input a{
    color: #00bdff;
}
button{
    border: 0;
    margin: 30px 0;
    text-align: center;
    width: 360px;
    height: 40px;
    line-height: 40px;
    background-color: #00bdff;
    color: white;
}
 